package com.base.mapper.voipmapper;

import org.apache.ibatis.annotations.Param;

import com.base.po.voip.TaskReward;

public interface TaskRewardMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(TaskReward record);

	int insertSelective(TaskReward record);

	TaskReward selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(TaskReward record);

	int updateByPrimaryKey(TaskReward record);

	int countByType(@Param("parentid") String parentid, @Param("subid") String subid,
                    @Param("createtime") String createtime, @Param("type") Integer type);
}